package com.yanfan.accessControl.domain;

import lombok.Data;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yanfan.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 门禁流量每小时统计对象 ibms_access_flow
 *
 * @author genluo
 * @date 2024-09-27
 */

@Data
public class IbmsAccessFlow implements Serializable{

private static final long serialVersionUID=1L;

    /**
     * 流量id
     */
    @Excel(name = "流量id")
    @TableId(value = "id" , type = IdType.AUTO) // 整型类型使用自增
    private Long id;

    /**
     * 进出类型，0代表进,1代表出
     */
    @Excel(name = "进出类型，0代表进,1代表出")
    private String inOutType;

    /**
     * 流量统计
     */
    @Excel(name = "流量统计")
    private Long flow;

    /**
     * 统计时间
     */
    @Excel(name = "统计时间")
    private String countTime;

    /**
     * 总流量统计
     */
    @Excel(name = "总流量统计")
    private Long countFlow;

}
